net/http.persistConn.readLimit (field)
9 uses
	net/http (current package)
		transport.go#L2013: 	readLimit int64 // bytes allowed to be read; owned by readLoop
		transport.go#L2046: 	if pc.readLimit <= 0 {
		transport.go#L2049: 	if int64(len(p)) > pc.readLimit {
		transport.go#L2050: 		p = p[:pc.readLimit]
		transport.go#L2056: 	pc.readLimit -= int64(n)
		transport.go#L2204: 		pc.readLimit = pc.maxHeaderResponseSize()
		transport.go#L2227: 			if pc.readLimit <= 0 {
		transport.go#L2238: 		pc.readLimit = maxInt64 // effectively no limit for response bodies
		transport.go#L2415: 			pc.readLimit = pc.maxHeaderResponseSize() // reset the limit
![]()  | 
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |